package com.yunkeji.api.common.service;

import com.yunkeji.api.common.bo.AliCallBackBo;
import com.yunkeji.common.core.bo.FileUpload;
import com.yunkeji.common.core.domain.vo.SysOssVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * 文件上传 服务层
 *
 * @author 老张
 */
public interface ISysOssService {
    SysOssVo upload(MultipartFile file, String path);

    Map<String, String> upload(Integer fileType, String md5);

    List<Map<String, String>> upload(FileUpload fileUpload);

    void aliCallback(AliCallBackBo aliCallBackBo);
}
